from django.shortcuts import render

# Create your views here.
from rest_framework.viewsets import ModelViewSet

from project.models import Project
from project.serializers import ProjectSerializer


class ProjectView(ModelViewSet):
    """
    项目的类视图
    """
    queryset = Project.objects.all()

    serializer_class = ProjectSerializer